package promotion

const (
	PromotionActivityDiscount uint8 = 1 ///
	PromotionActivitySeckill  uint8 = 2
	PromotionActivityPackage  uint8 = 3
	PromotionActivityMember   uint8 = 4 ///
	PromotionActivityCharge   uint8 = 5 ///
)

const (
	PromotionMutexTypeOrder    uint8 = 1
	PromotionMutexTypeSpu      uint8 = 2
	PromotionMutexTypeSku      uint8 = 3 // 按照SKU互斥
	PromotionMutexTypeBrand    uint8 = 4
	PromotionMutexTypeCategory uint8 = 5
)

const (
	PromotionScopeAll      uint8 = 0
	PromotionScopeCategory uint8 = 1
	PromotionScopeBrand    uint8 = 2
	PromotionScopeProduct  uint8 = 3
)

const (
	PromotionActivityRuleGroupAmount uint8 = 1
	PromotionActivityRuleGroupNumber uint8 = 2
)

const (
	PromotionActivityRuleGroupOne  uint8 = 1
	PromotionActivityRuleGroupMany uint8 = 2
)

const (
	PromotionActivityStepBasic uint8 = 1 //
	PromotionActivityStepMain  uint8 = 2 //
	PromotionActivityStepGift  uint8 = 3 //

	PromotionActivityProductOther uint8 = 0 //
	PromotionActivityProductMain  uint8 = 1
	PromotionActivityProductGift  uint8 = 2
)

const (
	PromotionActivityRuleTypeDiscount     uint8 = 1
	PromotionActivityRuleTypeFreeShipping uint8 = 2
	PromotionActivityRuleTypeExtraPoint   uint8 = 3
	PromotionActivityRuleTypeCoupon       uint8 = 4
	PromotionActivityRuleTypeGems         uint8 = 5

	PromotionActivityRuleModeAmount   uint8 = 1
	PromotionActivityRuleModeDiscount uint8 = 2
	PromotionActivityRuleModeFixed    uint8 = 3
)

const (
	PromotionCouponTypeOrder    uint8 = 4
	PromotionCouponTypeMember   uint8 = 4
	PromotionCouponTypeRegister uint8 = 4

	PromotionCouponTypeReceive  uint8 = 1
	PromotionCouponTypeExchange uint8 = 2
	PromotionCouponTypePresent  uint8 = 4
)

const (
	PromotionCouponModeAmount uint8 = 1 // condition
	PromotionCouponModeNumber uint8 = 2
)

const (
	PromotionCouponExpireStatic  uint8 = 1 // expire
	PromotionCouponExpireDynamic uint8 = 2
)

const (
	PromotionCouponRuleAmount              uint8 = 1 // discount
	PromotionCouponRuleDiscount            uint8 = 2 // discount
	PromotionCouponRuleDeduction           uint8 = 3
	PromotionCouponRuleOrderFreeShipping   uint8 = 4 // discount
	PromotionCouponRuleProductFreeShipping uint8 = 5
	PromotionCouponRuleFixedPrice          uint8 = 6 // discount
)

const (
	PromotionEffectOrderFreeShipping   uint32 = 1
	PromotionEffectProductFreeShipping uint32 = 2
)

const (
	PromotionEffectTypeFreeShipping uint32 = 1
)
